<template>
  <div>
    <table-box
      ref="refPositionTable"
      table-size="mini"
      :table-config="tableConfig2f"
      :dragable="true"
      :off-set="-50"
      :table-height="400"
      :other-filters="otherFilter"
      :selected-arry.sync="tableSelected"
      click-row-selection
      @data-change="dataChange"
      @selection-change="handleSelectionChange"
      @btnOperate="btnOperate"
    />
  </div>
</template>

<script>
export default {
  name: 'FileController',
  data() {
    return {
      // 附件管理
      tableConfig2f: {
        // interfacePath: `${process.env.VUE_APP_BASE_API}/api/v1/transfer/transferPage`,
        hideSearchBar: true,
        pageSize: 20,
        sort: '',
        order: 'desc',
        setting: [
          {
            prop: 'menuName',
            label: '附件',
            minWidth: 150
          },
          {
            prop: '',
            label: '附件名称',
            minWidth: 150
          },
          {
            prop: '',
            label: '附件类型',
            minWidth: 130
          },
          {
            prop: '',
            label: '所属阶段',
            minWidth: 170
          },
          {
            prop: '',
            label: '上传人',
            minWidth: 170
          },
          {
            prop: '',
            label: '上传时间',
            minWidth: 170
          },
          {
            label: '操作',
            button: [
              {
                name: '附件下载',
                clickFun: this.mymetHod,
                className: 'table-handelclick-text',
                type: 'text'
              }
            ]
          }
        ],
        btnList: [
          {
            buttonName: '导出',
            optCode: 'export',
            outerFlag: true
          }
        ]
      }
    }
  },
  computed: {},
  created() {},
  activated() {},
  methods: {}
}
</script>

<style lang="scss" scoped>

</style>
